from django.conf.urls import url
from django.contrib import admin
from  . import views
urlpatterns=[
    url(r'^areas/$', views.AreaView.as_view()),
    url(r'^areas/(?P<pk>\d+)/$', views.AreasView.as_view()),

    # url(r'^addresses', views.AddressView.as_view()),
    url(r'^addresses/$', views.AddressView.as_view()),

    url(r'^addresses/(?P<pk>\d+)/$', views.AddressView.as_view()),
    # url(r'^addresses/(?P<pk>\d+)/$', views.AddressView.as_view()),
    url(r'^addresses/(?P<pk>\d+)/status/$', views.StatusView.as_view()),

]